package lanxing;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration;
import org.springframework.boot.context.ApplicationPidFileWriter;

/**
 * @author <a href="mailto:lanxing@chances.com.cn">lanxing</a>
 *
 */
@SpringBootApplication(exclude={DataSourceAutoConfiguration.class,HibernateJpaAutoConfiguration.class})
public class PersonApplication {
    public static void main(String[] args) {
        SpringApplication springApplication = new SpringApplication(PersonApplication.class);
        springApplication.addListeners(new ApplicationPidFileWriter());
        springApplication.run(args);

        System.setProperty("tomcat.util.http.parser.HttpParser.requestTargetAllow", "|");
    }
}